package object;

import java.io.Serializable;

public class Employee implements Serializable{
	private String emId;
	private String emFirstName;
	private String emLastName;
	private String emFullName;
	private String emBirthDay;
	private boolean emSex;
	private String emCMTND;
	private String emHomeTownAdd;
	private int emHomeTown;
	private String emCurrentAdd;
	private int emCurrentCity;
	private String emMobile;
	private String emPhone;
	private String emEmail;
	private int emDiplomas;
	private int emSpecialized;
	private String emImage;
	private String emDateStart;
	private String emDateEnd;
	private int emContract;
	private int emPos;
	private int emDep;
	private int emEmT;

	
	public String getEmId() {
		return emId;
	}
	public void setEmId(String emId) {
		this.emId = emId;
	}
	public String getEmFirstName() {
		return emFirstName;
	}
	public void setEmFirstName(String emFirstName) {
		this.emFirstName = emFirstName;
	}
	public String getEmLastName() {
		return emLastName;
	}
	public void setEmLastName(String emLastName) {
		this.emLastName = emLastName;
	}
	public String getEmFullName() {
		return emFullName;
	}
	public void setEmFullName(String emFirstName, String emLastName) {
		this.emFullName = emFirstName +" "+ emLastName;
	}
	public String getEmBirthDay() {
		return emBirthDay;
	}
	public void setEmBirthDay(String emBirthDay) {
		this.emBirthDay = emBirthDay;
	}
	public boolean isEmSex(){
		return emSex;
	}
	public void setSex(boolean emSex){
		this.emSex = emSex;
	}
	public String getEmCMTND() {
		return emCMTND;
	}
	public void setEmCMTND(String emCMTND) {
		this.emCMTND = emCMTND;
	}
	public String getEmHomeTownAdd() {
		return emHomeTownAdd;
	}
	public void setEmHomeTownAdd(String emHomeTownAdd) {
		this.emHomeTownAdd = emHomeTownAdd;
	}
	public int getEmHomeTown() {
		return emHomeTown;
	}
	public void setEmHomeTown(int emHomeTown) {
		this.emHomeTown = emHomeTown;
	}
	public String getEmCurrentAdd() {
		return emCurrentAdd;
	}
	public void setEmCurrentAdd(String emCurrentAdd) {
		this.emCurrentAdd = emCurrentAdd;
	}
	public int getEmCurrentCity() {
		return emCurrentCity;
	}
	public void setEmCurrentCity(int emCurrentCity) {
		this.emCurrentCity = emCurrentCity;
	}
	public String getEmMobile() {
		return emMobile;
	}
	public void setEmMobile(String emMobile) {
		this.emMobile = emMobile;
	}
	public String getEmPhone() {
		return emPhone;
	}
	public void setEmPhone(String emPhone) {
		this.emPhone = emPhone;
	}
	public String getEmEmail() {
		return emEmail;
	}
	public void setEmEmail(String emEmail) {
		this.emEmail = emEmail;
	}
	public int getEmDiplomas() {
		return emDiplomas;
	}
	public void setEmDiplomas(int emDiplomas) {
		this.emDiplomas = emDiplomas;
	}
	public int getEmSpecialized() {
		return emSpecialized;
	}
	public void setEmSpecialized(int emSpecialized) {
		this.emSpecialized = emSpecialized;
	}
	public String getEmImage() {
		return emImage;
	}
	public void setEmImage(String emImage) {
		if(emImage == null) emImage ="";
		this.emImage = emImage;
	}
	public String getEmDateStart() {
		return emDateStart;
	}
	public void setEmDateStart(String emDateStart) {
		this.emDateStart = emDateStart;
	}
	public String getEmDateEnd() {
		return emDateEnd;
	}
	public void setEmDateEnd(String emDateEnd) {
		this.emDateEnd = emDateEnd;
	}
	public int getEmContract() {
		return emContract;
	}
	public void setEmContract(int emContract) {
		this.emContract = emContract;
	}
	public int getEmPos() {
		return emPos;
	}
	public void setEmPos(int emPos) {
		this.emPos = emPos;
	}
	public int getEmDep() {
		return emDep;
	}
	public void setEmDep(int emDep) {
		this.emDep = emDep;
	}
	public int getEmEmT() {
		return emEmT;
	}
	public void setEmEmT(int emEmT) {
		this.emEmT = emEmT;
	}

}
